package createPattern.factory.abstractFactory;


import createPattern.factory.model.Character;

public class Client {
    public static void main(String[] args) {
        //创建迪卢克
        ICharacterFactory dilucFactory = new DilucFactory();
        Character diluc = dilucFactory.create();
        diluc.show();

        //创建琴
        ICharacterFactory jeanFactory = new JeanFactory();
        Character jean = jeanFactory.create();
        jean.show();

        //创建可莉
        ICharacterFactory kleeFactory = new KleeFactory();
        Character klee = kleeFactory.create();
        klee.show();
    }
}
